package net.realsee.common.enums.wcs.irayple;

import lombok.Getter;

/**
 * @author 戴俊宇
 * @since 2023/10/30 下午 02:02
 **/
@Getter
public enum IRayPleRcsOperateErrorEnum {

    SUCCESS(1000, "请求成功"),
    ERROR(1001,"请求失败"),
    PARAM_ERROR(7201, "请求参数错误"),
    NO_TASK_TEMP(2103,"任务流程模板编号不存在"),
    EMPTY_PATH(2107,"需要传路径点时，路径集合为空"),
    PATH_ERROR(2108,"路径集合有误"),
    TASK_REPEAT(2111, "请勿重复下发任务"),
    TASK_COMPLETED(2115,"任务已完成"),
    ;

    private final Integer code;
    private final String desc;

    IRayPleRcsOperateErrorEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

}
